public class AnotherClass{
    public static void SayHelloFromAnotherClass(){
        System.debug('The method called is AnotherClass --> SayHelloFromAnotherClass');
    }

}